package com.hs.srm.base.common.exception;

import com.hs.srm.common.exception.ServiceExceptionEnum;

/**
 * @program: HSSRM
 * @description: 对外接口异常枚举
 * @author: Wang Pei Dong
 * @create: 2018-08-06 15:32
 **/
public enum ExtExceptionEnum implements ServiceExceptionEnum {

	/**
	 * 参数错误
	 */
	RPT_REQUIRED_ERROR(1002, "参数错误：");


	ExtExceptionEnum(int code, String message) {
		this.code = Integer.valueOf(code);
		this.message = message;
	}

	private Integer code;

	private String message;

	@Override
	public Integer getCode() {
		return this.code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	@Override
	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
